package cn.wolfcode.ssm.service;

import cn.wolfcode.ssm.domain.Consumption;
import cn.wolfcode.ssm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionService {
    void save(Consumption consumption);
    void delete(Long id);
    void update(Consumption consumption);
    Consumption get(Long id);
    List<Consumption> listAll();
    // 分页查询的方法
    PageInfo<Consumption> query(QueryObject qo);
    //根据流水号创建新结算单
    Consumption save(String appointmentAno, Integer status);

}
